package com.d3works.apps.bpm.service.deployment;

import com.d3works.apps.bpm.db.WkfTaskConfig;
import com.d3works.meta.db.MetaAttrs;
import com.google.inject.persist.Transactional;
import java.util.List;
import org.camunda.bpm.model.xml.instance.ModelElementInstance;

public interface MetaAttrsService {

  public List<MetaAttrs> createMetaAttrs(
      String taskName,
      ModelElementInstance modelElementInstance,
      WkfTaskConfig config,
      String wkfModelId);

  @Transactional
  public void saveMetaAttrs(List<MetaAttrs> metaAttrsList, Long wkfModelId);
}
